package com.lixy.demo.spring4_highlight.ch3.aware;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Main {

	public static void main(String[] args) {
		AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext( AwareConfig.class );
		AwareService service = context.getBean( AwareService.class );
		service.outputResult();
		context.close();
	}

}
